#define _CRT_SECURE_NO_WARNINGS 1
#include"Queue.h"

void testqueue()
{
	Queue t_q;
	QInit(&t_q);
	QPush(&t_q, 5);
	QPush(&t_q, 2);
	QPush(&t_q, 8);
	QPush(&t_q, 2);
	QPush(&t_q, 6);
	QPush(&t_q, 9);
	while (QEmpty(&t_q))
	{
		printf("%d ", Qfront(&t_q));
		QPop(&t_q);
	}
	printf("\n");
}

int main()
{
	testqueue();

	return 0;
}